const NOTIFICATION_TITLE = 'Title'
const NOTIFICATION_BODY = 'Notification from the Renderer process. Click to log to console.'
const CLICK_MESSAGE = 'Notification clicked!'



document.getElementById('output').addEventListener("click", () => {
  new Notification({ title: NOTIFICATION_TITLE, body: NOTIFICATION_BODY })
    .onclick = () => document.getElementById('output').innerText = CLICK_MESSAGE
})